import { POST } from "@/services/request.js";
export default {
    orderAdd(data = {}) {
        return POST({
            url: 'order/add',
            params: data
        })
    },
    orderIndex(data = {}) {
        return POST({
            url: 'order/index',
            params: data
        })
    },
    orderbuy(data = {}) {
        return POST({
            url: 'order/buy',
            params: data
        })
    },
    orderpayment(data = {}) {
        return POST({
            url: 'order/payment',
            params: data
        })
    },
    orderInfo(data = {}) {
        return POST({
            url: 'order/info',
            params: data
        })
    },
    orderConfirm(data = {}) {
        return POST({
            url: 'order/confirm',
            params: data
        })
    },
    orderRate(data = {}) {
        return POST({
            url: 'order/rate',
            params: data
        })
    },
    orderRefund(data = {}) {
        return POST({
            url: 'order/refund',
            params: data
        })
    },
    orderExpresslist(data = {}) {
        return POST({
            url: 'order/expresslist',
            params: data
        })
    },
    orderRefundgoods(data = {}) {
        return POST({
            url: 'order/refundgoods',
            params: data
        })
    },
    orderPay(data = {}) {
        return POST({
            url: 'order/pay',
            params: data
        })
    },
    orderNotice(data = {}) {
        return POST({
            url: 'order/notice',
            params: data
        })
    }
}